package com.study.mike.model.po;

import lombok.Data;

import java.util.List;

/**
 * @author KangHui
 * @Date 2022/12/26 17:30
 */
@Data
public class MagicalQueryPO extends MagicalLandPO {
    /**
     * 当前页
     */
    private Integer pageCurrent;

    /**
     * 每页大小
     */
    private Integer pageSize;

    public Integer getPageCurrent() {
        return pageCurrent = pageCurrent == null || pageCurrent <= 0 ? 1 : pageCurrent;
    }

    public Integer getPageSize() {
        return pageSize = pageSize == null || pageSize <= 0 ? 10 : pageSize;
    }

    /**
     * 导出类型
     */
    private Integer exportType;

    /**
     * 所选数据ids
     */
    private List<Long> ids;
}
